package com.huan.controller;

import com.huan.domain.ResponseResult;
import com.huan.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("system/user/list")
public class UserController {
    @Autowired
    private UserService userService;
    @GetMapping("")
    public ResponseResult getAllRole(Integer pageNum, Integer pageSize, String userName,String phonenumber, String status){
        return userService.getAllUser(pageNum,pageSize,userName,phonenumber,status);
    }
}
